#pragma once

#include <string>

namespace FA_TL {

/**
 * @brief 模板库节点类
 */
class TemplateLibrary {
   public:
    // 数据库表名
    static constexpr const char* tableName = "tl_library";

    // 数据库字段
    int64_t id = 0;
    std::string name;
    int _order = 0;
    int nodeType = 0;
    int64_t parentId = 0;
    int nodeStatus = 0;
    int instanceTimes = 0;
    bool deleteFlag = false;
    std::string extendedParam;  // 扩展参数，通常为JSON格式

   public:
    TemplateLibrary() = default;
    ~TemplateLibrary() = default;
};

}  // namespace FA_TL
